export function attentionLabel (state) {
    return function (id) {
        if (state.attentionLabels.length === 0) {
            return null
        } else {
            return state.attentionLabels.find(label => label.id === id)
        }
    }
}

export function attentionLabels (state) {
    return state.attentionLabels
}
